<?php
/* @var $this MainController */
/* @var $model Main */

$this->breadcrumbs=array(
	'Mains'=>array('index'),
	$model->id=>array('view','id'=>$model->id),
	'Update',
);

$this->menu=array(
	array('label'=>'List Main', 'url'=>array('index')),
	array('label'=>'Create Main', 'url'=>array('create')),
	array('label'=>'View Main', 'url'=>array('view', 'id'=>$model->id)),
	array('label'=>'Manage Main', 'url'=>array('admin')),
);
?>

<div class="row">
    <div class="page-header">
        <h1>Настройка главной страницы</h1>
    </div>
</div>
<?php if ($message): ?>
    <div class="row">
        <div class="alert alert-success">
            <?php echo $message; ?>
        </div>
    </div>
<?php endif; ?>
<?php $this->renderPartial('_form', array('model'=>$model)); ?>
